import { View } from "@tarojs/components";
import { useLoad } from "@tarojs/taro";
import { useEffect } from "react";

const Child = () => {
  useLoad(() => {
    console.log("Child loaded.");
  });
  useEffect(() => {
    console.log("Child mounted.");
  }, []);

  return <View>child组件</View>;
};

export default Child;
